import java.util.Scanner;

public class Main 
{
	static int nnum=5;
	static int wnum=6;
	static weight w[] = new weight[wnum];
	static neuron n[] = new neuron[nnum];

	
	public static void main(String [] args)
	{
		for(int i=0; i<wnum; i++)
			w[i] = new weight();
		

		w[0].Link(0,3);
		w[1].Link(0,4);
		w[2].Link(1,3);
		w[3].Link(1,4);
		w[4].Link(2,3);
		w[5].Link(2,4);
		
		Start();
	}

	public static void Start()
	{
		Scanner kb = new Scanner(System.in);
		
		for(int i=0; i<nnum; i++)
		{
			System.out.println("What is the initial value of node "+i+"?");
			int nid = kb.nextInt();
			n[i] = new neuron(nid);
		}
		
		process p = new process();
		p.ProcessNeuron();
		p.Learn();
		
		
		//Start();
		
	}
	
}

